<?php

namespace app\user\model\goods;

use think\Model;

//use app\user\controller\goods\Brand;

/**
 *
 */
class UserBrandProfit extends Model {

    // 表名
    protected $name = 'user_brand_profit';

    public function brand(){
        return $this->hasOne(Brand::class, 'id', 'brand_id');
    }

}